/**
Date: 2025-08-13
Copyright (c) 2025 Industrial Software Feature Database
*/
import request from '@/utils/request';
// 业务地图列表
export function getBusinessMapList(data) {
  return request({
    url: '/isfd/scene/map/list',
    method: 'post',
    data
  });
}

// 新增业务地图
export function saveBusinessMap(data) {
  return request({
    url: '/isfd/scene/map/save',
    method: 'post',
    data
  });
}

// 删除业务地图
export function deleteBusinessMap(id) {
  return request({
    url: `/isfd/scene/map/${id}`,
    method: 'delete'
  });
}

// 业务地图详情
export function getBusinessMapDetail(params) {
  return request({
    url: '/isfd/scene/map/detail',
    method: 'get',
    params
  });
}

// 血缘关系 数据溯源
export function getBusinessMapRelationShip(params) {
  return request({
    url: '/isfd/scene/map/blood/relationship',
    method: 'get',
    params
  });
}